package com.dsy.xiangcun_manage.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dsy.tools.common.utils.QueryObj;
import com.dsy.tools.entity.TbPhoto;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dsy
 * @since 2023-03-07
 */
public interface ITbPhotoService extends IService<TbPhoto> {
    IPage<TbPhoto> getAllPhoto(long page, long limit, QueryWrapper<QueryObj> wrapper);

    TbPhoto getPhotoById(Integer photoId);
}
